package com._21cn.product.service;

import com._21cn.framework.base.db.BaseDao;
import com._21cn.framework.base.service.impl.BaseServiceImpl;
import com._21cn.framework.flip.PageList;
import com._21cn.product.dao.CarBusinessSecondDao;
import com._21cn.product.entity.CarBusinessSecond;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;


@Service("carBusinessSecondService")
public class CarBusinessSecondService extends BaseServiceImpl<CarBusinessSecond> {
	
    @Autowired
    private CarBusinessSecondDao carBusinessSecondDao;

    @Override
    protected BaseDao<CarBusinessSecond> getBaseDao() {
        return carBusinessSecondDao;
    }

    public PageList<CarBusinessSecond> getCarSecondList(Map<String,Object> params, int pageNo, int pageSize, boolean doCount){
        return carBusinessSecondDao.getCarSecondList(params, pageNo, pageSize, doCount);
    }
}